package cn.gok.manage.web;

import cn.gok.manage.service.CountService;
import cn.gok.util.ResultData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/manage/statistic")
public class CountController {

    @Autowired
    CountService countService;

    @ResponseBody
    @RequestMapping("/base_count.do")
    public ResultData count(){
        return countService.count();
    }
}
